home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14830 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: slip-46-7.ots.utexas.edu!user
  2. From: brians@pbcomputing.com (Brian Stern)
  3. Newsgroups: comp.sys.mac.programmer.codewarrior,comp.sys.mac.programmer.help,comp.lang.c++
  4. Subject: Re: mac INIT loading order
  5. Date: 2 Apr 1996 07:13:50 GMT
  6. Organization: The University of Texas at Austin, Austin, Texas
  7. Message-ID: <brians-0204960110360001@slip-46-7.ots.utexas.edu>
  8. References: <schiltz-0104962111000001@reqd-010.ucdavis.edu>
  9. NNTP-Posting-Host: slip-46-7.ots.utexas.edu
  10.  
  11. In article <schiltz-0104962111000001@reqd-010.ucdavis.edu>,
  12. schiltz@cs.ucdavis.edu (Michael Schiltz) wrote:
  13.  
  14. <how can you control the order in which an INIT loads.  I want to have my
  15. <INIT load ASAP.  any ideas?
  16. <Thanks in advance,
  17. <mike
  18. <schiltz@cs.ucdavis.edu
  19. <
  20. <-- 
  21. <-Through the modem, past the router, over the firewall.. nothing but Net -
  22.  
  23. Extensions are loaded in a defined order.  Resources of type 'INIT' can be
  24. found in files of type 'INIT' (System Extension), 'cdev' (Control Panel),
  25. 'RDEV' (Chooser Device), 'appe' (application extension), and 'scri'
  26. (script system extensions).  In order to be loaded, the INIT resource must
  27. be in one of these file types in one of several locations in the System
  28. Folder.  
  29.  
  30. Under system 7 INITs are loaded first from the Extensions Folder in
  31. alphabetical order.  INITs present in script system extension files
  32. (filetype 'scri') load before INITs present in system extension files
  33. (filetype 'INIT').  Next, any INITs in the Control Panels folder are
  34. loaded in alphabetical order.  Any INITs present at the root level of the
  35. System Folder are loaded after that.  This order of loading is important
  36. if an extension is dependent on the presence of another extension.  For
  37. example, if an INIT resource in an INIT file named 'SpeakAll' is dependent
  38. on the presence of the 'Speech Manager' extension, it either needs to have
  39. its name changed to something that sorts after 'Speech Manager' or it has
  40. to be located in the Control Panels folder, since extensions in the
  41. Control Panels folder load after extensions in the Extensions Folder. 
  42.  
  43.  
  44. You can find more nifty info about inits in the INIT writing FAQ to be
  45. found at the url mentioned below in my sig.
  46.  
  47. ____________________________________________________________________
  48. Brian  Stern  {8-{)}                                 BeBox Hairy Guy                  Stern@metrowerks.com                          BrianS@pbcomputing.com
  49. INIT Writing FAQ etc. at <ftp://ftp.pbcomputing.com//Guests/BrianS/>
  50.